<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // 1、变量的声明
    let age

    // 2、变量的赋值
    age = 18

    // 3、声明变量同时赋值
    let name = '张三'
  </script>
</body>

</html>